package com.itheima.ThreadPrac;

public class Demo01 {
    public static void main(String[] args) {
        mythread1 t1 = new mythread1();
        mythread1 t2 = new mythread1();
       // mythread1 t1 = new mythread1();

        t1.setName("窗口1");
        t2.setName("窗口2");
        t1.start();
        t2.start();
    }
}
